package com.easylinkin.linkappapi.lobar.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easylinkin.linkappapi.common.model.RequestModel;
import com.easylinkin.linkappapi.lobar.dto.UserCertificateDTO;
import com.easylinkin.linkappapi.lobar.entity.UserCertificate;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * <p>
 * 闸机表 服务类
 * </p>
 *
 * @author TongJie
 * @since 2022-04-13
 */
public interface UserCertificateService extends IService<UserCertificate> {

  List<UserCertificateDTO> queryList(UserCertificate userCertificate);

  /**
   * 增加
   * @param UserCertificate
   * @return
   */
  String insert(UserCertificate UserCertificate);

  /**
   * 根据id编辑
   * @param UserCertificate
   */
  void updateOne(UserCertificate UserCertificate);

  /**
   * @Description: 批量编辑用户id
   * @author kan yuanfeng
   * @date 2020/11/04 11:42
   */
  void updateByUserId(UserCertificate userCertificate);

  /**
   * @Description: 根据用户id删除
   * @author kan yuanfeng
   * @date 2020/11/04 11:42
   */
  void deleteByUserId(UserCertificate userCertificate);
}
